package com.hongning.railway.entity.reqbean;

import com.hongning.railway.util.TimeUtils;

import java.io.Serializable;

public class QuestionResultBean implements Serializable {
    long enddate;// 1567274398000,
    String evaluationId;//": "1",
    String status;//": "101",
    String title;//": "测试1"

    public String  getEnddate() {
        return "考核时间："+TimeUtils.getThreadFormatTime(enddate);
    }

    public void setEnddate(long enddate) {
        this.enddate = enddate;
    }

    public String getEvaluationId() {
        return evaluationId;
    }

    public void setEvaluationId(String evaluationId) {
        this.evaluationId = evaluationId;
    }

    public String getStatus() {
//        101未完成，102已提交，103已截止
        return "101".equals(status)?"未完成":"102".equals(status)?"已提交":"已截止";
    }

    public void setStatus(String status) {
        this.status = status;
    }

    public String getTitle() {
        return title;
    }

    public void setTitle(String title) {
        this.title = title;
    }
}
